package com.main.common.utils;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;

import java.util.UUID;

@Getter
public class UUIDUtil{
    @NotNull
    @Size(min = 16, max = 50)
    public final String id;

    public UUIDUtil() {
        this.id = UUID.randomUUID().toString();
    }

}
